package com.hk.dto.useranddeptdto;

import lombok.Data;

import java.util.List;

@Data
public class UserDTO {
    private String createBy;
    private String createTime;
    private String updateBy;
    private String updateTime;
    private Integer userId;
    private Integer deptId;
    private String userName;
    private String nickName;
    private String email;
    private String phonenumber;
    private String sex;
    private String avatar;
    private String salt;
    private String status;
    private String delFlag;
    private String loginIp;
    private String loginDate;
    private DeptDTO dept;  // 嵌套的部门信息
    private List<RoleDTO> roles;
    private List<Integer> roleIds;
    private Boolean admin;
    
    // getters and setters
}